package com.xzit.tmms.mapper.user;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.xzit.tmms.bean.user.Right;
import com.xzit.tmms.common.base.BaseMapper;
import com.xzit.tmms.common.page.Page;

public interface RightMapper extends BaseMapper {

	Right selectByRightUrl(@Param("rightUrl") String rightUrl) throws Exception;

	Map<String, Object> selectTopPosCode() throws Exception;

	List<Map<String, Object>> queryRights(Page<Right> page, @Param("queryInput") String queryInput) throws Exception;

	List<Right> getAllRights() throws Exception;

	List<Right> getIsNotPublicRights() throws Exception;
}